Adds a visible grid to the current page.

 

   
Syntax
 
     

GridID = Doc.AddGrid()

 

   
Params
 
     
Name   Type   Description
GridID Long The Object ID of the newly added Text Object.

 

   
Notes
 
     

Adds a visible grid to the current page. The grid shows locations on the page and the effect of the current transform. It is designed to help with object positioning during development.

 

   
Example
 
     

The following code modifies the page transform and then adds a grid to show how the transform has affected the page.

Set theDoc = CreateObject("ABCpdf3.Doc")
theDoc.Page = theDoc.AddPage
theDoc.Transform.Rotate 20, 100, 100
theDoc.AddGrid
theDoc.Save "c:\mypdfs\docaddgrid.pdf"
"


docaddgrid.pdf

   

 

Browser Based Help. Published by chm2web software.