/// <summary> /// Return a pointer to the unamanged version of this callback. /// </summary> /// <param name="callback">The callback.</param> /// <returns>A pointer to a shadow c++ callback</returns> public static IntPtr ToIntPtr(TextAnalysisSink1 callback) { return ToCallbackPtr<TextAnalysisSink1>(callback); }
/// <summary> /// <p>Analyzes a text range for script orientation, reading text and attributes from the source and reporting results to the sink.</p> /// </summary> /// <param name="analysisSource"><dd> <p>Source object to analyze.</p> </dd></param> /// <param name="textPosition"><dd> <p>Starting position within the source object.</p> </dd></param> /// <param name="textLength"><dd> <p>Length to analyze.</p> </dd></param> /// <param name="analysisSink"><dd> <p>Length to analyze.</p> </dd></param> /// <returns><p>If this method succeeds, it returns <strong><see cref="SharpDX.Result.Ok"/></strong>. Otherwise, it returns an <strong><see cref="SharpDX.Result"/></strong> error code.</p></returns> /// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='IDWriteTextAnalyzer1::AnalyzeVerticalGlyphOrientation']/*"/> /// <msdn-id>Hh780429</msdn-id> /// <unmanaged>HRESULT IDWriteTextAnalyzer1::AnalyzeVerticalGlyphOrientation([In] IDWriteTextAnalysisSource1* analysisSource,[In] unsigned int textPosition,[In] unsigned int textLength,[In] IDWriteTextAnalysisSink1* analysisSink)</unmanaged> /// <unmanaged-short>IDWriteTextAnalyzer1::AnalyzeVerticalGlyphOrientation</unmanaged-short> public void AnalyzeVerticalGlyphOrientation(TextAnalysisSource1 analysisSource, int textPosition, int textLength, TextAnalysisSink1 analysisSink) { AnalyzeVerticalGlyphOrientation__(TextAnalysisSource1Shadow.ToIntPtr(analysisSource), textPosition, textLength, TextAnalysisSink1Shadow.ToIntPtr(analysisSink)); }
/// <summary> /// Return a pointer to the unamanged version of this callback. /// </summary> /// <param name="callback">The callback.</param> /// <returns>A pointer to a shadow c++ callback</returns> public static IntPtr ToIntPtr(TextAnalysisSink1 callback) { return(ToCallbackPtr <TextAnalysisSink1>(callback)); }