rtGraphic | ||
![]() rtAttachment rtdImageResource ![]() AltText Caption CaptionColor As rtColor CaptionPosition HTML ID ImageType Label Map As rtMap Offset parentParagraph Parent ParentContainer ParentObject PicHeight PicWidth Proportional resourceAcross resourceColorize resourceComment resourceDown root Resource As rtLabel ResourceDesign As rtDesign ResourceName sizeInPixels Segment
| version 1.5
Represents a graphical object - either native image like JPEG or GIF or Notes image, that may include graphical object in Notes native, BMP, WMF, CGM representations. May represent also reference to shared image resource. Supports import/export for JPEG/GIF images. Use PicHeight and PicWidth properties (in pixels) to set dimensions, set property Proportional to False if you want to be able to set them separately. Use restoreDimensions method to show the image in original size (size stored in image resource or rich text item). You may convert rtGraphic object to image resource either using saveAsResoure method and setting the 3rd parameter True, that has an effect of converting image contained in rtGraphic object to resource and converting the object to refer to this resource instead of containing full image data, or you may use Resource property to associate an object with an existing resource. Once you have associated an rtGraphic object with the image resource, you may use resourceXXX properties to manipulate the resource. The resource management includes ability to convert an image to/from image resource, export image or resource as file as well as set/get different design element properties (image resource being a design element). All resource properties are prefixed with a word "resource". All basic design properties are accessible through design property that returns rtDesign class object. You may set/get resourceNoRefresh, resourcePropagateNoRefresh flags to manipulate design refresh behavior and resourceInheritFrom string that allows read/write the template name the resource inherits from. Available are also image resource properties resourceColorize (set 1 to blend with gray background), resourceAcross and resourceDown for creating image wells (see Domino help for details), resourceAlias and resourceComment. Alias may be used to reference the resource when setting Resource property. |