You are here: Symbol Reference > htmledit Namespace > Classes > THtmlEditor Class > THtmlEditor Methods > AddImageAtCursor Method > THtmlEditor.AddImageAtCursor Method (string, integer, integer, string)
HTML Editor Library
ContentsIndexHome
PreviousUpNext
THtmlEditor.AddImageAtCursor Method (string, integer, integer, string)

Add image at caret positoin

Pascal
function AddImageAtCursor(const Url: string; AWidth: integer = 0; AHeight: integer = 0; const Align: string = ''): TImageElement; overload;
Parameters 
Description 
const Url: string 
Image file name (file://) or Url (http://)  
AWidth: integer = 0 
Fixed width (=0 for auto)  
AHeight: integer = 0 
Fixed height (=0 for auto)  
const Align: string = '' 
Image alignment ('right', 'left' or empty for inline)  
Copyright (c) 2013. All rights reserved.
What do you think about this topic? Send feedback!