CreateCanvas() public abstract méthode

public abstract CreateCanvas ( int left, int top, int width, int height, CanvasInitParameters canvasInitPars = newCanvasInitParameters() ) : Canvas
left int
top int
width int
height int
canvasInitPars CanvasInitParameters
Résultat Canvas
Exemple #1
0
        public static Canvas CreatePrintCanvas(System.Drawing.Graphics g, int w, int h)
        {
            CanvasInitParameters canvasInit = new CanvasInitParameters();

            canvasInit.externalCanvas = g;
            return(gdiPlatform.CreateCanvas(0, 0, w, h, canvasInit));
        }
Exemple #2
0
 public static Canvas CreatePrintCanvas(System.Drawing.Graphics g, int w, int h)
 {
     return(gdiPlatform.CreateCanvas(g, 0, 0, w, h));
 }