[]
        
(Showing Draft Content)

FarPoint.Win.Picture.-ctor

Picture Constructor

Picture()

Creates a picture.

Declaration
public Picture()
Public Sub New()

Picture(Image)

Creates a picture with the specified image.

Declaration
public Picture(Image i)
Public Sub New(i As Image)
Parameters
Type Name Description
Image i

Image

Picture(Image, RenderStyle)

Creates a picture with the specified image and style.

Declaration
public Picture(Image i, RenderStyle style)
Public Sub New(i As Image, style As RenderStyle)
Parameters
Type Name Description
Image i

Image

RenderStyle style

Style

Picture(Image, Color)

Creates a picture with the specified image and transparency color.

Declaration
public Picture(Image i, Color transparencyColor)
Public Sub New(i As Image, transparencyColor As Color)
Parameters
Type Name Description
Image i

Image

Color transparencyColor

Which color is transparent

Picture(Image, RenderStyle, Color)

Creates a picture with the specified image, style, and transparency color.

Declaration
public Picture(Image i, RenderStyle style, Color transparencyColor)
Public Sub New(i As Image, style As RenderStyle, transparencyColor As Color)
Parameters
Type Name Description
Image i

Image

RenderStyle style

Style

Color transparencyColor

Which color is transparent

Picture(Image, RenderStyle, Color, HorizontalAlignment, VerticalAlignment)

Creates a picture with the specified image, style, transparency color, and alignment.

Declaration
public Picture(Image i, RenderStyle style, Color transparencyColor, HorizontalAlignment alignHorz, VerticalAlignment alignVert)
Public Sub New(i As Image, style As RenderStyle, transparencyColor As Color, alignHorz As HorizontalAlignment, alignVert As VerticalAlignment)
Parameters
Type Name Description
Image i

Image

RenderStyle style

Stle

Color transparencyColor

Which color is transparent

HorizontalAlignment alignHorz

Horizontal alignment of image

VerticalAlignment alignVert

Vertical alignment of image

Picture(Image, RenderStyle, Color, int)

Creates a picture with the specified image, style, transparency color, and transparency tolerance.

Declaration
public Picture(Image i, RenderStyle style, Color transparencyColor, int transparencyTolerance)
Public Sub New(i As Image, style As RenderStyle, transparencyColor As Color, transparencyTolerance As Integer)
Parameters
Type Name Description
Image i

Image

RenderStyle style

Picture style

Color transparencyColor

Which color is transparent

int transparencyTolerance

Amount of tolerance of transparency from the color value

Picture(Image, RenderStyle, Color, int, HorizontalAlignment, VerticalAlignment)

Creates a picture with the specified image, style, transparency color (with tolerance), and alignments of contents.

Declaration
public Picture(Image i, RenderStyle style, Color transparencyColor, int transparencyTolerance, HorizontalAlignment alignHorz, VerticalAlignment alignVert)
Public Sub New(i As Image, style As RenderStyle, transparencyColor As Color, transparencyTolerance As Integer, alignHorz As HorizontalAlignment, alignVert As VerticalAlignment)
Parameters
Type Name Description
Image i

Image

RenderStyle style

Picture style

Color transparencyColor

Which color is transparent

int transparencyTolerance

Amount of tolerance of transparency from the color value

HorizontalAlignment alignHorz

Horizontal alignment of image

VerticalAlignment alignVert

Vertical alignment of image

Picture(object)

Creates a picture by copying another.

Declaration
public Picture(object cloneFrom)
Public Sub New(cloneFrom As Object)
Parameters
Type Name Description
object cloneFrom

Object from which to copy or clone this picture