Search
DiagramView.MaxImageSize Property
See Also
 





Specifies the size of the image tiles when ClientSideMode is ImageMap. Image maps can be split into multuple images to avoid problems with large images.

Namespace: MindFusion.Diagramming.WebForms
Package: MindFusion.Diagramming.WebForms

 Syntax

C#  Copy Code

public Size MaxImageSize { get; set; }

Visual Basic  Copy Code

Public Property MaxImageSize As Size

 Property Value

A Size instance specifying the maximum size of images generated in ImageMap mode. The default value is Size.Empty.

 Remarks

GDI.NET cannot create Image objects larger than about 3000 x 3000 pixels. To avoid this problem, NetDiagram can split a large diagram image into smaller ones, and render them inside an HTML table. To enable this, set MaxImageSize to a value different from Size.Empty.

Additionally, loading multiple small images lets browsers display parts of the diagram faster, than if they would if one large image must be downloaded.

 See Also