PRIM_PDF - setLineDashメソッド
次の線の破線パターンを設定
PRIM_PDF (PRIM_PDF) のメンバ
パラメータ
詳細
次に描く線の点線パターンを設定します。
例
点線パターンの設定
Define_Com Class(#PRIM_PDF) Name(#pdf) Unitm(mm) Pageformat(A4) Pageorientation(Portrait)
Define_Com Class(#PRIM_NMBR) Name(#DashEnt)
Define_Com Class(#PRIM_NMBR) Name(#DashPhase)
Define_Com Class(#Prim_ACol<#PRIM_NMBR>) Name(#DashPat)
#pdf.start
#DashPat.Insert( (*New #PRIM_NMBR) )
#DashPat<1> := 7
#DashPat.Insert( (*New #PRIM_NMBR) )
#DashPat<2> := 3
#DashPat.Insert( (*New #PRIM_NMBR) )
#DashPat<3> := 1
#DashPat.Insert( (*New #PRIM_NMBR) )
#DashPat<4> := 3
#DashPhase := 10
#pdf.setLineDash Pattern(#DashPat) Phase(#DashPhase)
#pdf.setLineWidth Width(0.2)
#pdf.line Left(10) Top(10) Right(150.5) Bottom(10)
#pdf.save Filename('myReport.pdf')