VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging.Web.Services Namespace / ImageTilesCacheManager Class / GetTileId Methods / GetTileId(String,WebDocumentLayoutSettings,Int32,PointF,Size,PointF,RenderingSettings,Boolean,DecodingSettings,EncoderBase) Method
Syntax Requirements SeeAlso
In This Topic
GetTileId(String,WebDocumentLayoutSettings,Int32,PointF,Size,PointF,RenderingSettings,Boolean,DecodingSettings,EncoderBase) Method (ImageTilesCacheManager)
In This Topic
Returns the tile identifier.
Syntax
'Declaration

Public Overloads Overridable Function GetTileId( _
ByVal fileId
File identifier.
As String, _
ByVal documentLayoutSettings
Document layout settings.
As Vintasoft.Shared.Web.WebDocumentLayoutSettings, _
ByVal pageIndex
Zero-based image index in source image file.
As Integer, _
ByVal tileLocation
Position, in pixels, of image tile on source image.
As System.Drawing.PointF, _
ByVal tileSize
Size, in pixels, of image tile. Can be get using the WebImageViewerJS.get_TileWidth and WebImageViewerJS.get_TileHeight functions.
As System.Drawing.Size, _
ByVal scale
Scale in image viewer.
As System.Drawing.PointF, _
ByVal renderingSettings
Rendering settings.
As Vintasoft.Imaging.Codecs.Decoders.RenderingSettings, _
ByVal isContentEditingEnabled
A value indicating whether content editing is enabled.
As Boolean, _
ByVal decodingSettings
Decoding settings.
As Vintasoft.Imaging.Codecs.Decoders.DecodingSettings, _
ByVal encoder
The encoder, which should be used for encoding the image tile.
As Vintasoft.Imaging.Codecs.Encoders.EncoderBase _
) As String
public virtual string GetTileId(
string fileId,
Vintasoft.Shared.Web.WebDocumentLayoutSettings documentLayoutSettings,
int pageIndex,
System.Drawing.PointF tileLocation,
System.Drawing.Size tileSize,
System.Drawing.PointF scale,
Vintasoft.Imaging.Codecs.Decoders.RenderingSettings renderingSettings,
bool isContentEditingEnabled,
Vintasoft.Imaging.Codecs.Decoders.DecodingSettings decodingSettings,
Vintasoft.Imaging.Codecs.Encoders.EncoderBase encoder
)

Parameters

fileId
File identifier.
documentLayoutSettings
Document layout settings.
pageIndex
Zero-based image index in source image file.
tileLocation
Position, in pixels, of image tile on source image.
tileSize
Size, in pixels, of image tile. Can be get using the WebImageViewerJS.get_TileWidth and WebImageViewerJS.get_TileHeight functions.
scale
Scale in image viewer.
renderingSettings
Rendering settings.
isContentEditingEnabled
A value indicating whether content editing is enabled.
decodingSettings
Decoding settings.
encoder
The encoder, which should be used for encoding the image tile.

Return Value

Tile identifier.
Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7, .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5

See Also