Skip to content

Source Property

Description

Gets or sets the source for the image (ImageManager or File).

Property Type

Read-write property

Syntax (Visual Basic)

Public Property Source() As String

Return Type

The source of the drawn image.

Remarks

The source of the image can come from a file or ImageManager.

If using the ImageManager, the following formats are supported: .bmp, .gif, .ico, .jpg, .png, .wdp, and .tiff. To load an image from the ImageManager with an Id of "10", use the following code:

MarkupImage1.Source = "10"

If using an image file, the following formats are supported: .bmp and .png. To load an image from a file, use the following code:

MarkupImage1.Source = "file://c:\filename.png"

See Also

MarkupImage Object


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.