Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / TextCellType Class / PaintCell Method / PaintCell(PdfGraphics,RectangleF,Appearance,Object,Boolean,Boolean,Single) Method
PDF graphics device
Rectangle boundary of the cell to print
Appearance settings
Value
Whether the cell is active
Whether the cell is marked as locked
Numeric value for zoom factor for scaling the display


In This Topic
    PaintCell(PdfGraphics,RectangleF,Appearance,Object,Boolean,Boolean,Single) Method
    In This Topic
    Gets a control and prints the cell to PDF based on the specified appearance and selection.
    Syntax
    'Declaration
     
    
    Public Overloads Overrides Sub PaintCell( _
       ByVal g As PdfGraphics, _
       ByVal r As RectangleF, _
       ByVal appearance As Appearance, _
       ByVal value As Object, _
       ByVal isSelected As Boolean, _
       ByVal isLocked As Boolean, _
       ByVal zoomFactor As Single _
    ) 
    'Usage
     
    
    Dim instance As TextCellType
    Dim g As PdfGraphics
    Dim r As RectangleF
    Dim appearance As Appearance
    Dim value As Object
    Dim isSelected As Boolean
    Dim isLocked As Boolean
    Dim zoomFactor As Single
     
    instance.PaintCell(g, r, appearance, value, isSelected, isLocked, zoomFactor)
    public override void PaintCell( 
       PdfGraphics g,
       RectangleF r,
       Appearance appearance,
       object value,
       bool isSelected,
       bool isLocked,
       float zoomFactor
    )

    Parameters

    g
    PDF graphics device
    r
    Rectangle boundary of the cell to print
    appearance
    Appearance settings
    value
    Value
    isSelected
    Whether the cell is active
    isLocked
    Whether the cell is marked as locked
    zoomFactor
    Numeric value for zoom factor for scaling the display
    See Also