#NEWLINE# def getHeight( self , pp = None , onY2 = None ) : #NEWLINE# #INDENT# if ( ( pp is None ) and ( onY2 is None ) ) : #NEWLINE# #INDENT# return self . height #NEWLINE# #UNINDENT# mH = self . getModelHeight ( ) #NEWLINE# if ( Double . NaN == mH ) : #NEWLINE# #INDENT# result = self . getHeight ( ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# result = pp . dyToPixel ( mH , onY2 ) #NEWLINE# #UNINDENT# return result