使用C#在条形码WPF中设置宽度和高度 [英] To set the width and height in barcode WPF using C#

查看:345
本文介绍了使用C#在条形码WPF中设置宽度和高度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用WPF在1D和2D条形码中设置宽度和高度属性。

How to set the width and height property in 1D and 2D barcode using WPF.

推荐答案

这个问题毫无意义。它与WPF无关。酒店是一处房产。如果您的问题是关于某些特定属性,您至少可以提供一些链接或代码示例。但这不是你真正想要的。你只需要知道如何编程,特别是有属性。



使用赋值运算符设置属性,=。

请参阅:属性(C#编程指南) [ ^ ]。



顺便说一句,为了深入理解WPF,您需要学习依赖属性附加属性,但这些主题与您的问题几乎没有关系。如果您有兴趣,可以自行找到链接。



-SA
The question makes no sense. And it has nothing to do with WPF. A property is a property. If your question is about some particular property, you could at least provide some link or code sample. But this is not what you really want. You just need to know how to do programming, in particular, with properties.

The property is set by using assignment operator, =.
Please see: Properties (C# Programming Guide)[^].

By the way, for understanding WPF in depth, you will need to learn dependency properties and attached properties, but these topic are hardly related to your question. If you are interested, you will find the links by yourself.

—SA


这篇关于使用C#在条形码WPF中设置宽度和高度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆