powered by simpleCommunicator - 2.0.59     © 2025 Programmizd 02
Целевая тема:
Создать новую тему:
Автор:
Закрыть
Цитировать
Форумы / PowerBuilder [игнор отключен] [закрыт для гостей] / Pixel
4 сообщений из 4, страница 1 из 1
Pixel
    #34603972
Voitovych
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
Код: plaintext
1.
2.
3.
области печати размером 
листа формата  210  *  297  мм
т.е. координаты 
правого нижнего угла ?

СПАСИБО
...
Рейтинг: 0 / 0
Pixel
    #34604112
Фотография urvas
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Милиметры перевести в пиксели, а пиксели в юниты (PBU).
...
Рейтинг: 0 / 0
Pixel
    #34604202
Voitovych
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
авторМилиметры перевести в пиксели, а пиксели в юниты (PBU).

Искал в help F1 Pixel
и ничего не нашёл
...
Рейтинг: 0 / 0
Pixel
    #34604296
Фотография AIZ
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Description

Converts pixels to PowerBuilder units. Because pixels are not usually square, you also specify whether you are converting the pixels' horizontal or vertical measurement.

Syntax

PixelsToUnits ( pixels, type )

Argument Description
pixels An integer whose value is the number of pixels you want to convert to PowerBuilder units.
type A value of the ConvertType enumerated datatype value indicating how to convert the value:· XPixelsToUnits! — Convert the pixels in the horizontal direction.· YPixelsToUnits! — Convert the pixels in the vertical direction.
Return value

Integer. Returns the converted value if it succeeds and -1 if an error occurs. If any argument's value is NULL, PixelsToUnits returns NULL.

Description

Converts PowerBuilder units to pixels and reports the measurement. Because pixels are not usually square, you also specify whether to convert in the horizontal or vertical direction.

Syntax

UnitsToPixels ( units, type )

Argument Description
units An integer whose value is the number of PowerBuilder units you want to convert to pixels
type A value of the ConvertType enumerated datatype indicating how to convert the value:· XUnitsToPixels! — Convert the units in the horizontal direction· YUnitsToPixels! — Convert the units in the vertical direction
Return value

Integer. Returns the converted value if it succeeds and -1 if an error occurs. If any argument's value is NULL, UnitsToPixels returns NULL.
...
Рейтинг: 0 / 0
4 сообщений из 4, страница 1 из 1
Форумы / PowerBuilder [игнор отключен] [закрыт для гостей] / Pixel
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]