Prepare document for drawing at the fragment location.

 

   

Syntax
 

[C#]
void Focus()

[Visual Basic]
Sub Focus()

 

   

Params
 
Name Description
none  

 

   

Notes
 

Use this method to focus on the fragment.

This prepares the document for drawing at the fragment location.

After calling this function you can add content overlaying the fragment. For example you might call Doc.FillRect to overlay it.

Text is drawn at a height of one point, using a transformation matrix to scale it up. So, in general, after calling this method, the Doc.Rect Height will be 1.0.

The Doc.Page, Doc.Rect and Doc.Transform may all be changed as a result of calling this method.

 

   

Example
 

None.