'Declaration
Public Overloads Sub AddEmbeddedImageAnnotInteractive( _ ByVal ImagePath As String, _ ByVal Stroke As Boolean, _ ByVal BorderColor As Color, _ ByVal BorderWidth As Single, _ ByVal Opacity As Single _ )
public void AddEmbeddedImageAnnotInteractive( string ImagePath, bool Stroke, Color BorderColor, float BorderWidth, float Opacity )
public procedure AddEmbeddedImageAnnotInteractive( ImagePath: String; Stroke: Boolean; BorderColor: Color; BorderWidth: Single; Opacity: Single );
public function AddEmbeddedImageAnnotInteractive( ImagePath : String, Stroke : boolean, BorderColor : Color, BorderWidth : float, Opacity : float );
public: void AddEmbeddedImageAnnotInteractive( string* ImagePath, bool Stroke, Color BorderColor, float BorderWidth, float Opacity )
public: void AddEmbeddedImageAnnotInteractive( String^ ImagePath, bool Stroke, Color BorderColor, float BorderWidth, float Opacity )
Parameters
- ImagePath
- The file path of the image resource to render as an annotation. Use the empty string to allow the control to prompt users to select a file.
You can subsequently use the GetLastPath method to retrieve the path of the selected file.
- Stroke
- Set this parameter to true, if you want to stroke the embedded image using the defined border color, otherwise set it to false.
- BorderColor
- A color object that defines the required border color of the newly added embedded image annotation. It is the color of the border drawn around the embedded image if you set the Stroke parameter to true.
- BorderWidth
- The border width of the newly added embedded image annotation, in inches. It is the width of the colored border drawn around the embedded image if you set the Stroke parameter to true.
- Opacity
- The opacity value of the newly added embedded image annotation, from 0 (full transparency) to 1 (full opacity).