| ||
Introducing SharpPlot Your First Chart Recent Updates Sample Charts Tutorials General Tutorials Chart Tutorials SharpPlot Class Properties Structures Enumerations Style examples Glossaries Active Charts VectorMath Class DBUtil Class Get SharpPlot Download SharpPlot Buying SharpPlot SharpPlot Support Upgrading from GraPL Release notes |
Reference > Methods > NextNote Method (Double) SharpPlot.NextNote Method (Double)Find the correct baseline for a follow-on note when the previous note may have been wrapped. The result is suitable for passing to DrawNote as the second argument (the y-position). public double NextNote( double headspace ); Examplesp.DrawNote("Hello from a wrapped note to check vertical spacing",2,20,0,1); next = sp.NextNote(12); // 12pt headspace sp.DrawNote("Hello from another note",2,next); The argument may be zero (to have the normal line-spacing applied) or may give additional inter-paragraph space in points. The return value will be in chart co-ordinates unless the note style has been set to ‘Absolute’ in which case it will be in points. See also ... |