vb中的richtextbox控件问题呀
请问朋友们,vb中的richtextbox控件中用怎么的方法修改richtextbox中文字的行距,字间距呢,高手朋友请帮帮我吧 问题点数:100、回复次数:5Top
1 楼wenw(阿文)回复于 2002-06-01 22:02:42 得分 80
SelIndent 属性指定了 RichTextBox 控件的左边缘和选定或添加的文本的左边缘之间的距离。类似的,SelRightIndent 属性指定了 RichTextBox 控件的右边缘和选定或添加的文本的右边缘之间的距离。
RichTextBox 控件可识别下列 rtf(丰富正文格式)代码。其它所有的 rtf 代码在加载文本时都被控件忽略。
RTF 代码 描述 RTF 代码 描述
- OptionalHyphen objcropl CropLeft
\n EndParagraph objcropr CropRight
\r EndParagraph objcropt CropTop
_ NonBreakingHyphen objdata ObjectData
| FormulaCharacter object Object
~ NonBreakingSpace objemb ObjectEmbedded
ansi CharSetAnsi objh Height
b Bold objicemb ObjectMacICEmbedder
bin BinaryData objlink ObjectLink
blue ColorBlue objname ObjectName
bullet ANSI Character 149 objpub ObjectMacPublisher
cb ColorBackground objscalex ScaleX
cell Cell objscaley ScaleY
cf ColorForeground objsetsize ObjectSetSize
colortbl ColorTable objsub ObjectMacSubscriber
cpg CodePage objw Width
deff DefaultFont par EndParagraph
deflang DefaultLanguage pard ParagraphDefault
deftab DefaultTabWidth pc CharSetPc
deleted Deleted pca CharSetPs2
dibitmap PictureWindowsDIB piccropb CropBottom
dn Down piccropl CropLeft
dy TimeDay piccropr CropRight
emdash ANSI Character 151 piccropt CropTop
endash ANSI Character 150 pich Height
f FontSelect pichgoal DesiredHeight
fbidi FontFamilyBidi picscalex ScaleX
fchars FollowingPunct picscaley ScaleY
fcharset CharSet pict Picture
fdecor FontFamilyDecorative picw Width
fi IndentFirst picwgoal DesiredWidth
field Field plain CharacterDefault
fldinst FieldInstruction pmmetafile PictureOS2Metafile
fldrslt FieldResult pn ParaNum
fmodern FontFamilyModern pnindent ParaNumIndent
fname RealFontName pnlvlblt ParaNumBullet
fnil FontFamilyDefault pntext ParaNumText
fontemb FontEmbedded pntxta ParaNumAfter
fontfile FontFile pntxtb ParaNumBefore
fonttbl FontTable protect Protect
footer NullDestination (Footer) qc AlignCenter
footerf NullDestination (Footer, first) ql AlignLeft
footerl NullDestination (Footer, left) qr AlignRight
footerr NullDestination (Footer, right) rdblquote ANSI Character 34
footnote NullDestination (footnote) red ColorRed
fprq Pitch result ObjectResult
froman FontFamilyRoman revauth RevAuthor
fs FontSize revised Revision
fscript FontFamilyScript ri IndentRight
fswiss FontFamilySwiss row Row
ftech FontFamilyTechnical rquote ANSI Character 39
ftncn NullDestination (Footnote cont.) rtf Rtf
ftnsep NullDestination (Footnote separ) rtlch RightToLeftChars
ftnsepc NullDestination (Footnote cont. separ) rtldoc RightToLeftDocument
green ColorGreen rtlmark DisplayRightToLeft
header NullDestination (Header) rtlpar RightToLeftParagraph
headerf NullDestination (Header, first) sec TimeSecond
headerl NullDestination (Header, left) sect EndSection
headerr NullDestination (Header, right) sectd SectionDefault
horzdoc HorizontalRender strike StrikeOut
hr TimeHour stylesheet StyleSheet
I Italic sub Subscript
info DocumentArea (Info fields) super Superscript
intbl InTable tb TabPosition
lang Language tc NullDestination (Table of contents)
lchars LeadingPunct tx TabPosition
ldblquote ANSI Character 34 ul Underline
li IndentLeft uld UnderlineDotted
line SoftBreak uldash UnderlineDash
lquote ANSI Character 39 uldashd UnderlineDashDotted
ltrch LeftToRightChars uldashdd UnderlineDashDotDotted
ltrdoc LeftToRightDocument uldb UnderlineDouble
ltrmark DisplayLeftToRight ulhair UnderlineHairline
ltrpar LeftToRightParagraph ulnone StopUnderline
mac CharSetMacintosh ulth UnderlineThick
macpict PictureQuickDraw ulw UnderlineWord
margl MarginLeft ulwave UnderlineWave
marglsxn SectionMarginLeft up Up向上
margr MarginRight v HiddenText
margrsxn SectionMarginRight vertdoc VerticalRender
min TimeMinute wbitmap PictureWindowsBitmap
mo TimeMonth wbmbitspixel BitmapBitsPerPixel
nocwrap NoWordBreak wbmplanes BitmapNumPlanes
nooverflow NoOverflow wbmwidthbytes BitmapWidthBytes
nosupersub NoSuperSub wmetafile PictureWindowsMetafile
nowwrap NoWordWrap xe NullDestination (index entry)
objautlink ObjectAutoLink yr TimeYear
objclass ObjectClass zwj ZeroWidthJoiner
objcropb CropBottom zwnj ZeroWidthNonJoiner
Top
2 楼wangtao_net(我是一堵墙.net)回复于 2002-06-03 10:50:59 得分 0
谢谢楼上,请问怎么样能具体控制richtextbox中的行距、间距呢,啊,我的分不多了,不多是不是不能提问了呀,急呀Top
3 楼lidaixiang(smartyufu)回复于 2002-06-03 12:11:50 得分 20
这个问题不致于太难。你看msdnTop
4 楼wangtao_net(我是一堵墙.net)回复于 2002-06-03 15:30:06 得分 0
看了msdn,可没能找到,csdn不是高手的天下吗,这点问题应该不成问题吧,谁帮帮我Top
5 楼wangtao_net(我是一堵墙.net)回复于 2002-06-04 12:12:51 得分 0
help me,help ... meTop
6 楼wangtao_net(我是一堵墙.net)回复于 2002-06-05 11:23:42 得分 0
upTop




