[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.GcPdfGraphics.DrawForm

DrawForm Method

DrawForm(FormXObject, RectangleF, RectangleF?, ImageAlign, out RectangleF[])

Draws a FormXObject using specified bounds and image alignment.

The output parameter imageBounds receives the actual bounds of the drawn object(s).

Declaration
public void DrawForm(FormXObject fxo, RectangleF destBounds, RectangleF? clipBounds, ImageAlign align, out RectangleF[] imageBounds)
Parameters
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).

DrawForm(FormXObject, RectangleF, RectangleF?, ImageAlign)

Draws a FormXObject using specified bounds and image alignment.

Declaration
public void DrawForm(FormXObject fxo, RectangleF destBounds, RectangleF? clipBounds, ImageAlign align)
Parameters
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.