Click or drag to resize
RAdapter Methods

The RAdapter type exposes the following members.

Methods
  NameDescription
Public methodAddFontFamily
Adds a font family to be used.
Public methodAddFontFamilyMapping
Adds a font mapping from fromFamily to toFamily iff the fromFamily is not found.
When the fromFamily font is used in rendered html and is not found in existing fonts (installed or added) it will be replaced by toFamily.
Public methodConvertImage
Convert image object returned from HtmlImageLoadEventArgs to RImage.
Protected methodConvertImageInt
Convert image object returned from HtmlImageLoadEventArgs to RImage.
Protected methodCreateContextMenuInt
Create a context menu that can be used on the control
Protected methodCreateFontInt(String, Double, RFontStyle)
Get font instance by given font family name, size and style.
Protected methodCreateFontInt(RFontFamily, Double, RFontStyle)
Get font instance by given font family instance, size and style.
Used to support custom fonts that require explicit font family instance to be created.
Protected methodCreateLinearGradientBrush
Get linear gradient color brush from color1 to color2.
Protected methodCreatePen
Get cached pen instance for the given color.
Protected methodCreateSolidBrush
Get cached solid brush instance for the given color.
Public methodGetClipboardDataObject
Get data object for the given html and plain text data.
The data object can be used for clipboard or drag-drop operation.
Not relevant for platforms that don't render HTML on UI element.
Protected methodGetClipboardDataObjectInt
Get data object for the given html and plain text data.
The data object can be used for clipboard or drag-drop operation.
Public methodGetColor
Resolve color value from given color name.
Protected methodGetColorInt
Resolve color value from given color name.
Public methodGetContextMenu
Create a context menu that can be used on the control
Not relevant for platforms that don't render HTML on UI element.
Public methodGetFont
Get font instance by given font family name, size and style.
Public methodGetLinearGradientBrush
Get linear gradient color brush from color1 to color2.
Public methodGetLoadingFailedImage
Get image to be used if HTML image load failed.
Public methodGetLoadingImage
Get image to be used while HTML image is loading.
Public methodGetPen
Get cached pen instance for the given color.
Public methodGetSolidBrush
Get cached solid brush instance for the given color.
Public methodImageFromStream
Create an RImage object from the given stream.
Protected methodImageFromStreamInt
Create an RImage object from the given stream.
Public methodIsFontExists
Check if the given font exists in the system by font family name.
Public methodSaveToFile
Save the given image to file by showing save dialog to the client.
Not relevant for platforms that don't render HTML on UI element.
Protected methodSaveToFileInt
Save the given image to file by showing save dialog to the client.
Public methodSetToClipboard(String)
Set the given text to the clipboard
Not relevant for platforms that don't render HTML on UI element.
Public methodSetToClipboard(RImage)
Set the given image to clipboard.
Not relevant for platforms that don't render HTML on UI element.
Public methodSetToClipboard(String, String)
Set the given html and plain text data to clipboard.
Not relevant for platforms that don't render HTML on UI element.
Protected methodSetToClipboardInt(String)
Set the given text to the clipboard
Protected methodSetToClipboardInt(RImage)
Set the given image to clipboard.
Protected methodSetToClipboardInt(String, String)
Set the given html and plain text data to clipboard.
Top
See Also