Partager via


IVsTextImageUtilities.GetTextFormat(UInt32, UInt32, Byte[], UInt32) Method

Definition

Gets text format

public:
 int GetTextFormat(System::UInt32 vstffIn, System::UInt32 cbData, cli::array <System::Byte> ^ pData, [Runtime::InteropServices::Out] System::UInt32 % pvstffOut);
int GetTextFormat(unsigned int vstffIn, unsigned int cbData, std::Array <byte> const & pData, [Runtime::InteropServices::Out] unsigned int & pvstffOut);
public int GetTextFormat (uint vstffIn, uint cbData, byte[] pData, out uint pvstffOut);
abstract member GetTextFormat : uint32 * uint32 * byte[] * uint32 -> int
Public Function GetTextFormat (vstffIn As UInteger, cbData As UInteger, pData As Byte(), ByRef pvstffOut As UInteger) As Integer

Parameters

vstffIn
UInt32

[in] Instructions for format and detection.

cbData
UInt32

[in] The size of data in bytes.

pData
Byte[]

[in] The data.

pvstffOut
UInt32

[out] The result text format.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From textfind.idl:

HRESULT IVsTextImageUtilities::GetTextFormat(  
   [in] VSTFF vstffIn,  
   [in] DWORD cbData,  
   [in, size_is(cbData)] const BYTE * pData,  
   [out, retval] VSTFF * pvstffOut  
);  

Applies to