CairoPdfSurface.Resize (gb.cairo)
Sub Resize ( Width As Float, Height As Float )
Changes the size of a PDF surface for the current (and subsequent) pages.
-
Width : the width of the page in millimeters.
-
Height : the height of the page in millimeters.
This function should only be called before any drawing operations have been performed on the current page. The simplest way to do this is to call this function immediately after creating the surface or immediately after completing a page with either
Cairo.ShowPage or
Cairo.CopyPage.