SoVectorizeActionBeginPage Method (SbVec2f, SbVec2f, SoVectorizeActionDimensionUnits) |
Begin a new page.
Namespace: OIV.HardCopy
public virtual void BeginPage( SbVec2f startPagePosition, SbVec2f pageSize, SoVectorizeActionDimensionUnits u )
Allows the user to generate multiple plots per page. A typical use is:
SoVectorizePSAction vectPS = new SoVectorizePSAction(); vectPS.BeginPage(startPos, pageSize); vectPS.SetStartPosition(x1, y1); vectPS.SetDrawingDimensions(width1, height1); vectPS.SetBorder(2.0); vectPS.Apply(root1); vectPS.SetStartPosition(x2, y2); vectPS.SetDrawingDimensions(width2, height2); vectPS.Apply(root2); ... vectPS.SetStartPosition(xi, yi); vectPS.SetDrawingDimensions(widthi, heighti); vectPS.Apply(rooti); vectPS.EndPage();