CodeCarvings.Piczard
ContentImageUrl Property
See Also  Send Feedback
CodeCarvings.Piczard.Web Namespace > PictureTrimmer Class : ContentImageUrl Property

Gets or sets the url used by the control to retrieve the image displayed within the GUI.

Syntax

Visual Basic (Declaration)  
<BrowsableAttribute(False)>
Public Property ContentImageUrl As String
C#  
[BrowsableAttribute(false)]
public string ContentImageUrl {get; set;}

Return Value

The url used by the control to retrieve the image displayed within the GUI.

Remarks

If the PictureTrimmer control is configured to use temporary files (WebSettings.PictureTrimmer.UseTemporaryFiles: true), then the ContentImageUrl property is automatically calculated.

On the contrary, if temporary files are disabled, then it is mandatory to set this property when an image is loaded into the control.
The resolution of the content image must be always 96 DPI (CommonData.DefaultResolution).
The methods PictureTrimmerCore.GetContentImageJob and PictureTrimmerCore.GetContentImageFormatEncoderParams help to generate a valid content image.

Please see the example A.305 - "Load & save images" / "Image stored in a DB (Without temporary files)".

Requirements

Platforms: Windows 8, Windows 7, Windows Vista, Windows XP Professional, Windows 2000 - Windows Server family: 2012, 2008.R2, 2008, 2003, 2000

See Also

©2013 Sergio Turolla. All Rights Reserved.