GdPicture.NET.14.API
GdPicture14 Namespace / GdPicturePDF Class / GridSplit Method / GridSplit(Int32,Int32,PdfGridSplitOrdering) Method
A integer value specifying number of rows in uniform grid. The value is expected to be higher than 0.
A integer value specifying number of columns in uniform grid. The value is expected to be higher than 0.
Member of the PdfGridSplitOrdering enumeration specifying ordering of the splitted page regions."
Example





In This Topic
GridSplit(Int32,Int32,PdfGridSplitOrdering) Method
In This Topic
Splits the curently selected page into separate new pages according to regions defined by uniform grid. The grid defined by row and column counts.
Syntax
'Declaration
 
Public Overloads Function GridSplit( _
   ByVal RowCount As Integer, _
   ByVal ColumnCount As Integer, _
   ByVal Ordering As PdfGridSplitOrdering _
) As GdPictureStatus
public function GridSplit( 
    RowCount: Integer;
    ColumnCount: Integer;
    Ordering: PdfGridSplitOrdering
): GdPictureStatus; 
public function GridSplit( 
   RowCount : int,
   ColumnCount : int,
   Ordering : PdfGridSplitOrdering
) : GdPictureStatus;

Parameters

RowCount
A integer value specifying number of rows in uniform grid. The value is expected to be higher than 0.
ColumnCount
A integer value specifying number of columns in uniform grid. The value is expected to be higher than 0.
Ordering
Member of the PdfGridSplitOrdering enumeration specifying ordering of the splitted page regions."

Return Value

A member of the GdPictureStatus enumeration. If the method has been successfully followed, then the return value is GdPictureStatus.OK.

We strongly recommend always checking this status first.

Remarks
This method is only allowed for use with non-encrypted documents.
Example
How to GridSplit specified page of loaded PDF document.

	
See Also