PrintDocument for WPF | ComponentOne
C1.WPF.PrintDocument.4.5.2 Assembly / C1.C1Preview Namespace / RenderGraphics Class / GraphicsSizeEqualToObjectSize Property

In This Topic
    GraphicsSizeEqualToObjectSize Property
    In This Topic
    Gets or sets value indicating whether size of Graphics object managed by this RenderGraphics same as RenderGraphics size. Set this property to true if you want to create image with exact sizes. If this property is true then Width and Height should be specified as absolute values (10mm, 1inch for example). GraphicsSizeEqualToObjectSize should be specified as true and Width and Height should be specified in absolute units before accessing to Graphics property.
    Syntax
    'Declaration
     
    Public Property GraphicsSizeEqualToObjectSize As Boolean
    public bool GraphicsSizeEqualToObjectSize {get; set;}
    See Also