[]
Draws a FormXObject using specified bounds and image alignment.
The output parameter imageBounds
receives
the actual bounds of the drawn object(s).
public void DrawForm(FormXObject fxo, RectangleF destBounds, RectangleF? clipBounds, ImageAlign align, out RectangleF[] imageBounds)
Public Sub DrawForm(fxo As FormXObject, destBounds As RectangleF, clipBounds As RectangleF?, align As ImageAlign, ByRef imageBounds As RectangleF())
Type | Name | Description |
---|---|---|
FormXObject | fxo | The FormXObject to draw. |
RectangleF | destBounds | The destination rectangle. |
RectangleF? | clipBounds | The clipping rectangle, or null for no clipping. |
ImageAlign | align | The image alignment. |
RectangleF[] | imageBounds | OUT: The actual bounds of the drawn image(s) (can be more than one if the image is tiled). |
Draws a FormXObject using specified bounds and image alignment.
public void DrawForm(FormXObject fxo, RectangleF destBounds, RectangleF? clipBounds, ImageAlign align)
Public Sub DrawForm(fxo As FormXObject, destBounds As RectangleF, clipBounds As RectangleF?, align As ImageAlign)
Type | Name | Description |
---|---|---|
FormXObject | fxo | The FormXObject to draw. |
RectangleF | destBounds | The destination rectangle. |
RectangleF? | clipBounds | The clipping rectangle, or null for no clipping. |
ImageAlign | align | The image alignment. |