Class FilmBoxExtensions
Extension methods on instance of the FilmBox class.
Inherited Members
Namespace: Dicom.Printing
Assembly: cs.temp.dll.dll
Syntax
public static class FilmBoxExtensions
Methods
GetSizeInInch(FilmBox)
Get the film box size in inches.
Declaration
public static SizeF GetSizeInInch(this FilmBox filmBox)
Parameters
| Type | Name | Description |
|---|---|---|
| FilmBox | filmBox | Film box object. |
Returns
| Type | Description |
|---|---|
| SizeF | Size in inches of film box. |
Print(FilmBox, Graphics, Rectangle, Int32)
Print a film box on specified graphics.
Declaration
public static void Print(this FilmBox filmBox, Graphics graphics, Rectangle marginBounds, int imageResolution)
Parameters
| Type | Name | Description |
|---|---|---|
| FilmBox | filmBox | Film box. |
| Graphics | graphics | Graphics on which to draw the film box. |
| Rectangle | marginBounds | Margin bounds. |
| Int32 | imageResolution | Image resolution. |