PrintDocument for WPF | ComponentOne
C1.WPF.PrintDocument.4.6.2 Assembly / C1.C1Preview Namespace / Style Class / ClientAreaOnly Property

In This Topic
    ClientAreaOnly Property
    In This Topic
    Gets or sets a value indicating whether just the client area of a System.Windows.Forms.Control, or the whole control, is rendered by the RenderImage object owning the current style.
    Syntax
    'Declaration
     
    Public Property ClientAreaOnly As Boolean
    public bool ClientAreaOnly {get; set;}
    Remarks

    A RenderImage can render an image of a System.Windows.Forms.Control if it is assigned to the RenderImage's RenderImage.Control property. ClientAreaOnly can be used to indicate that only the client area of that control should be rendered.

    This property is non-ambient (inherited from the Parent of the current style if not explicitly set).

    The default is false.

    See Also