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

Public Overloads Function GetTileId( _
ByVal fileId
A file identifier.
As String, _
ByVal pageIndex
A 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 encoder
The encoder, which should be used for encoding the image tile.
As Vintasoft.Imaging.Codecs.Encoders.EncoderBase _
) As String
public string GetTileId(
string fileId,
int pageIndex,
System.Drawing.PointF tileLocation,
System.Drawing.Size tileSize,
System.Drawing.PointF scale,
Vintasoft.Imaging.Codecs.Encoders.EncoderBase encoder
)

Parameters

fileId
A file identifier.
pageIndex
A 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.
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