Partager via


inflateBlock property

Sets or gets whether to render an empty object as though it contains text.

Syntax

HRESULT value = object.put_inflateBlock(VARIANT_BOOL v);HRESULT value = object.get_inflateBlock(VARIANT_BOOL* p);

Property values

Type: VARIANT_BOOL

One of the values in the Property Values section.

Remarks

The property is used to render empty objects as if they contained text. Empty objects, by default, do not occupy vertical space in a document.

The property affects empty objects only.

When the property is set to true, the height of an empty object is equal to the default text height.

The property applies to block objects.

See also

a

abbr

acronym

address

applet

area

article

aside

b

base

baseFont

bdo

bgSound

big

blockQuote

body

br

button

caption

center

cite

code

col

colGroup

comment

custom

dd

del

dfn

dir

div

dl

dt

em

embed

fieldSet

figcaption

figure

font

footer

form

frame

frameSet

head

header

hgroup

hn

hr

html

i

iframe

img

input type=button

input type=checkbox

input type=email

input type=file

input type=hidden

input type=image

input type=number

input type=password

input type=radio

input type=range

input type=reset

input type=search

input type=submit

input type=tel

input type=text

input type=url

ins

isIndex

kbd

label

legend

li

link

listing

map

mark

marquee

menu

nav

nextID

noBR

noFrames

noScript

object

ol

option

p

plainText

pre

q

rt

ruby

s

samp

script

section

select

small

span

strike

strong

sub

sup

table

tBody

td

textArea

tFoot

th

tHead

title

tr

tt

u

ul

var

wbr

xml

xmp