[]
        
(Showing Draft Content)

FarPoint.Win.FpHyperlink.DoPaint

DoPaint Method

Paints the cell.

Declaration
public static void DoPaint(Graphics g, Rectangle r, string text, Color backColor, Color foreColor, Font font, HorizontalAlignment horizontalAlignment, VerticalAlignment verticalAlignment, LinkArea[] areas, Color linkColor, Color visitedColor, Picture pict, bool[] visited, bool bLocked, bool rightToLeft)
Public Shared Sub DoPaint(g As Graphics, r As Rectangle, text As String, backColor As Color, foreColor As Color, font As Font, horizontalAlignment As HorizontalAlignment, verticalAlignment As VerticalAlignment, areas As LinkArea(), linkColor As Color, visitedColor As Color, pict As Picture, visited As Boolean(), bLocked As Boolean, rightToLeft As Boolean)
Parameters
Type Name Description
Graphics g

GDI+ graphics surface

Rectangle r

Image rectangle

string text

Text of the hyperlink

Color backColor

Background color

Color foreColor

Foreground (text) color

Font font

Font of hyperlink text

HorizontalAlignment horizontalAlignment

Horizontal alignment

VerticalAlignment verticalAlignment

Vertical alignment

LinkArea[] areas

Areas that are hyperlinked

Color linkColor

Color of hyperlink

Color visitedColor

Color of the previously-visited hyperlink

Picture pict

Picture (image)

bool[] visited

Whether the hyperlink has been clicked (visited) before

bool bLocked

Whether the control is locked

bool rightToLeft

Whether to set right to left

Paints the cell.

Declaration
public static void DoPaint(Graphics g, Rectangle r, string text, Color backColor, Color foreColor, Font font, HorizontalAlignment horizontalAlignment, VerticalAlignment verticalAlignment, LinkArea[] areas, Color linkColor, Color visitedColor, Picture pict, bool[] visited, bool bLocked, bool rightToLeft, StringTrimming trim)
Public Shared Sub DoPaint(g As Graphics, r As Rectangle, text As String, backColor As Color, foreColor As Color, font As Font, horizontalAlignment As HorizontalAlignment, verticalAlignment As VerticalAlignment, areas As LinkArea(), linkColor As Color, visitedColor As Color, pict As Picture, visited As Boolean(), bLocked As Boolean, rightToLeft As Boolean, trim As StringTrimming)
Parameters
Type Name Description
Graphics g

GDI+ graphics surface

Rectangle r

Image rectangle

string text

Text of the hyperlink

Color backColor

Background color

Color foreColor

Foreground (text) color

Font font

Font of hyperlink text

HorizontalAlignment horizontalAlignment

Horizontal alignment

VerticalAlignment verticalAlignment

Vertical alignment

LinkArea[] areas

Areas that are hyperlinked

Color linkColor

Color of hyperlink

Color visitedColor

Color of the previously-visited hyperlink

Picture pict

Picture (image)

bool[] visited

Whether the hyperlink has been clicked (visited) before

bool bLocked

Whether the control is locked

bool rightToLeft

Whether to set right to left

StringTrimming trim

StringTrimming setting

Paints the cell.

Declaration
public static void DoPaint(Graphics g, Rectangle r, string text, Color backColor, Color foreColor, Font font, HorizontalAlignment horizontalAlignment, VerticalAlignment verticalAlignment, LinkArea[] areas, Color linkColor, Color visitedColor, Picture pict, bool[] visited, bool bLocked, bool rightToLeft, StringTrimming trim, bool isGrayscale)
Public Shared Sub DoPaint(g As Graphics, r As Rectangle, text As String, backColor As Color, foreColor As Color, font As Font, horizontalAlignment As HorizontalAlignment, verticalAlignment As VerticalAlignment, areas As LinkArea(), linkColor As Color, visitedColor As Color, pict As Picture, visited As Boolean(), bLocked As Boolean, rightToLeft As Boolean, trim As StringTrimming, isGrayscale As Boolean)
Parameters
Type Name Description
Graphics g

GDI+ graphics surface

Rectangle r

Image rectangle

string text

Text of the hyperlink

Color backColor

Background color

Color foreColor

Foreground (text) color

Font font

Font of hyperlink text

HorizontalAlignment horizontalAlignment

Horizontal alignment

VerticalAlignment verticalAlignment

Vertical alignment

LinkArea[] areas

Areas that are hyperlinked

Color linkColor

Color of hyperlink

Color visitedColor

Color of the previously-visited hyperlink

Picture pict

Picture (image)

bool[] visited

Whether the hyperlink has been clicked (visited) before

bool bLocked

Whether the control is locked

bool rightToLeft

Whether to set right to left

StringTrimming trim

StringTrimming setting

bool isGrayscale