Start number for image counter which will be added in the ImageFileName

Namespace:  SautinSoft
Assembly:  SautinSoft.RtfToHtml (in SautinSoft.RtfToHtml.dll) Version: 6.2.2.1

Syntax

      
 C#  Visual Basic 
public int ImageNumStart { get; set; }
Public Property ImageNumStart As Integer

Remarks

Default value: 1.

Examples

CopyC#
SautinSoft.RtfToHtml r = new SautinSoft.RtfToHtml();
r.ImageStyle.IncludeImageInHtml = false;
//Must already exist. In this folder will be stored subfolder with images
r.ImageStyle.ImageFolder = @"c:\my webs\";
//Subfolder for storing images
r.ImageStyle.ImageSubFolder = @"images";
//Start number for image counter which will be added in 'ImageFileName'
r.ImageStyle.ImageNumStart = 100;
//Template image name, for this case images will have names "picture100.jpg", picture101.png
r.ImageStyle.ImageFileName = "picture";
CopyVB.NET
Dim r As New SautinSoft.RtfToHtml()
r.ImageStyle.IncludeImageInHtml = False
'Must already exist. In this folder will be stored subfolder with images
r.ImageStyle.ImageFolder = "c:\my webs\"
'Subfolder for storing images
r.ImageStyle.ImageSubFolder = "images"
'Start number for image counter which will be added in 'ImageFileName'
r.ImageStyle.ImageNumStart = 100
'Template image name, for this case images will have names "picture100.jpg", picture101.png
r.ImageStyle.ImageFileName = "picture"

See Also