Esempio n. 1
0
 /// ------------------------------------------------------------------------------------
 /// <summary>
 /// Get the view selection and paragraph properties.
 /// </summary>
 /// <param name="vwsel">[out] The selection</param>
 /// <param name="hvoText">[out] The HVO</param>
 /// <param name="tagText">[out] The tag</param>
 /// <param name="vqvps">[out] The paragraph properties</param>
 /// <param name="ihvoFirst">[out] Start index of selection</param>
 /// <param name="ihvoLast">[out] End index of selection</param>
 /// <param name="vqttp">[out] The style rules</param>
 /// <returns>Return false if there is neither a selection nor a paragraph property.
 /// Otherwise return true.</returns>
 /// ------------------------------------------------------------------------------------
 public bool GetParagraphProps(out IVwSelection vwsel, out int hvoText,
                               out int tagText, out IVwPropertyStore[] vqvps, out int ihvoFirst, out int ihvoLast,
                               out ITsTextProps[] vqttp)
 {
     CheckDisposed();
     return(EditingHelper.GetParagraphProps(out vwsel, out hvoText, out tagText,
                                            out vqvps, out ihvoFirst, out ihvoLast, out vqttp));
 }