VsTextImageClass.GetLineSize(Int32) 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.
Returns the number of lines in the text image.
public:
virtual int GetLineSize([Runtime::InteropServices::Out] int % pcLines) = Microsoft::VisualStudio::TextManager::Interop::IVsTextImage::GetLineSize;
public:
virtual int GetLineSize([Runtime::InteropServices::Out] int % pcLines);
virtual int GetLineSize([Runtime::InteropServices::Out] int & pcLines);
public virtual int GetLineSize (out int pcLines);
abstract member GetLineSize : int -> int
override this.GetLineSize : int -> int
Public Overridable Function GetLineSize (ByRef pcLines As Integer) As Integer
Parameters
- pcLines
- Int32
[out] Pointer to a count of lines in the text image.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.