Click or drag to resize

GeometryHandlerOnBeginPage Method

Called when page processing starts.

Namespace:  Atalasoft.Imaging.Codec.CadCam
Assembly:  Atalasoft.dotImage.Dwg (in Atalasoft.dotImage.Dwg.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public virtual bool OnBeginPage(
	int page,
	SizeF pageSizeInInches
)

Parameters

page
Type: SystemInt32
The zero-based index of the page
pageSizeInInches
Type: System.DrawingSizeF
The dimensions of the page in inches.

Return Value

Type: Boolean
OnBeginPage should return true to indicate that the page should be processed.
Examples
Coversheet Handling (C#)
public class CoverSheetHandler : GeometryHandler {
    public bool OnBeginPage(int page, SizeF pageSizeInInches)
    {
        return page == 0;
    }
}
See Also