IVsPersistentTextImage.Image_LoadText(String, Int32, UInt32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Loads the specified text image.
public:
int Image_LoadText(System::String ^ pszText, int iLength, System::UInt32 dwFlags);
public:
int Image_LoadText(Platform::String ^ pszText, int iLength, unsigned int dwFlags);
int Image_LoadText(std::wstring const & pszText, int iLength, unsigned int dwFlags);
public int Image_LoadText (string pszText, int iLength, uint dwFlags);
abstract member Image_LoadText : string * int * uint32 -> int
Public Function Image_LoadText (pszText As String, iLength As Integer, dwFlags As UInteger) As Integer
Parameters
- pszText
- String
[in] The text image.
- iLength
- Int32
[in] The length of the text image.
- dwFlags
- UInt32
[in] Flags indicating options.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From textmgr.idl:
HRESULT IVsPersistentTextImage::Image_LoadText(
[in] const WCHAR *pszText,
[in] INT iLength,
[in] DWORD dwFlags
);